   	<#include "/view/common/command/para.html">
<div class="zs-ibox" id="certificateMgr">
	<table class="zs-form-tab" width="100%">
		<tbody>
			<tr>
				<td colspan="2">
				<label>起始日期</label> &nbsp;
				<ag-Datebox class="zs-input" ng-model="queryObject.startDate" ng-change="queryCertificate()"></ag-Datebox>
				&nbsp;
				<label>结束日期</label> &nbsp;
				<ag-Datebox class="zs-input" ng-model="queryObject.endDate" ng-change="queryCertificate()"></ag-Datebox>
				&nbsp;
				<input type="button" value="查询" class="zs-btn"
					ng-click="queryCertificate()">
				&nbsp;
				<input ng-show="true" id="btnAddCert" type="button" value="新增凭证" class="zs-btn"
					ng-click="addCertificate()">
				</td>
			</tr>
		</tbody>
	</table>
	<div style="overflow: auto; height: {{Map_H- 300">
		<table class="zs-data-tab" width="100%">
			<thead>
				<tr>
					<th class="head">序号</th>
					<th class="head">凭证类型</th>
					<th class="head">凭证名称</th>
					<th class="head">创建人</th>
					<th class="head">创建时间</th>
					<th class="head">操作</th>
				</tr>
			</thead>
			<tbody>
				<tr ng-repeat="curRow in httpData.CertificateDataList.data"
					class="{{ isDoubleNum($index) ? 'even':'' }}">
					<td class="center"><label ng-bind="$index+1"></label></td>
					<td class="center"><label ng-bind="curRow.CERTIFICATE_TYPENAME"></label></td>
					<td class="center"><label ng-bind="curRow.CERTIFICATE_NAME"></label></td>
					<td class="center"><label ng-bind="curRow.USER_ID=='-1'?'超级管理员':curRow.C_USEREALNAME"></label></td>
					<td class="center"><label ng-bind="curRow.CREATE_TIME"></label></td>
					<td class="center">
						<a ng-click="viewCertificate(curRow.GUID)">查看</a>&nbsp;
						<a ng-click="viewOrEditCertificate(curRow)">修改</a>&nbsp;
						<a ng-click="deleteCertificate(curRow)">删除</a>
					</td>
				</tr>
			</tbody>
		</table>
		<div class="zs-page">
			<a
				ng-click="waterDataCommon.firstPage(httpData.CertificateDataList,httpData.CertificateDataList.queryObj)">首页</a>
			<a class="pre"
				ng-click="waterDataCommon.prePage(httpData.CertificateDataList,httpData.CertificateDataList.queryObj)">上一页</a>
			<a class="next"
				ng-click="waterDataCommon.nextPage(httpData.CertificateDataList,httpData.CertificateDataList.queryObj)">下一页</a>
			<a
				ng-click="waterDataCommon.lastPage(httpData.CertificateDataList,httpData.CertificateDataList.queryObj)">尾页</a>
			共<strong><label
				ng-bind="httpData.CertificateDataList.pageInfo.rowCount"></label></strong>条数据 - 第<strong><label
				ng-bind="httpData.CertificateDataList.pageInfo.pageIndex"></label></strong>页 - 共<strong><label
				ng-bind="httpData.CertificateDataList.pageInfo.pageCount"></label></strong>页
		</div>
	</div>
	
	<div itfreer-Window id="AddCertificate" title="新增凭证" width='800' 
	height='450'><#include "${viewDir}/WasteWater/dataModification/addCertificate.html">
	</div>
	
	<div itfreer-Window id="CertificateDetail" title="凭证详情" width='800' 
	height='450'><#include "${viewDir}/WasteWater/dataModification/CertificateDetail.html">
	</div>
</div>
